/* Width of 768px */

@media only screen and (min-width: 768px) and (max-width: 1000px) {
header .container {
padding:0px !important;
}

.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 {
 margin-bottom:20px;
}

/* portfolio */
.element {
width:225px !important;
height:350px;
}
}

/* Mobile landscape width 320 */
@media only screen and (max-width: 767px) {
.container {
padding:20px;
}
.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 {
 margin-bottom:20px;
}

/* home */
 h1.responsive_text {
font-size:40px;
line-height:45px;
padding-bottom:10px;
}

/* sub header */
 .sub_header h2 {
font-size:40px;
}

/* nav */
nav ul {
display: none;
}
 nav select {
display: inline-block;
width:270px;
margin:0px auto !important;
padding:10px;
height:inherit !important;
line-height:inherit !important;
}

/*portfolio*/
.element {
height:520px;
}


#options li {
    display: block;
    text-align: center;
}


#options li a {
    display: block;
    text-align: center !important;
}
}
 @media only screen and (min-width: 480px) and (max-width: 767px) {
 .container {
padding:20px;
}
 .span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 {
 margin-bottom:20px;
}

/* nav */
 nav ul {
display: none;
}
 nav select {
display: inline-block;
width:270px;
margin:0px auto !important;
padding:10px;
height:inherit !important;
line-height:inherit !important;
}

/*portfolio*/
.element {
height:580px;
}
#options li {
    display: block;
    text-align: center;
}


#options li a {
    display: block;
    text-align: center !important;
}
}
